]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
windowManager: Make use of the switch-panels-backward keybinding
authorRui Matos <tiagomatos@gmail.com>
Mon, 3 Dec 2012 10:07:28 +0000 (11:07 +0100)
committerRui Matos <tiagomatos@gmail.com>
Tue, 4 Dec 2012 09:06:37 +0000 (10:06 +0100)
We have it in the schema so there's no reason for it not to work.

https://bugzilla.gnome.org/show_bug.cgi?id=689528

js/ui/windowManager.js

index 42b2e6697426059fbeb6f6760e49680809c0678c..f4e957838920cd2becd99ecadb96218fd6fef051 100644 (file)
@@ -155,6 +155,13 @@ const WindowManager = new Lang.Class({
                                         Main.KeybindingMode.UNLOCK_SCREEN |
                                         Main.KeybindingMode.LOGIN_SCREEN,
                                         Lang.bind(this, this._startA11ySwitcher));
+        this.setCustomKeybindingHandler('switch-panels-backward',
+                                        Main.KeybindingMode.NORMAL |
+                                        Main.KeybindingMode.OVERVIEW |
+                                        Main.KeybindingMode.LOCK_SCREEN |
+                                        Main.KeybindingMode.UNLOCK_SCREEN |
+                                        Main.KeybindingMode.LOGIN_SCREEN,
+                                        Lang.bind(this, this._startA11ySwitcher));
 
         this.addKeybinding('open-application-menu',
                            new Gio.Settings({ schema: SHELL_KEYBINDINGS_SCHEMA }),